package org.lzy.pt.util;

import org.jivesoftware.util.LocaleUtils;

public class Constants {

	public enum T_CompleteFlag {

		create(0), 
		running(1), 
		completed(2), 
		autoCancel(3), 
		forceCancel(4);
		
		private int value ;
		
		private T_CompleteFlag(int i){
			this.value = i;
		}
		
		public int value() {
			return value;
		}
		
		public String names(){
			return LocaleUtils.getLocalizedString("task.T_CompleteFlag."+value);
		}
	}

}
